home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
tcp_ip
/
jnos
/
docs110
/
n8fow.nos
< prev
next >
Wrap
Text File
|
1994-02-23
|
39KB
|
1,298 lines
#
# ***** Software development autoexec.nos file for n8fow.ampr.org *****
#
# *** Updated 2 February 1994 ***
# Ron N8FOW
#
# AMPRNet : n8fow@n8fow.ampr.org
# n8fow@wsu.n8fow.ampr.org
# Internet: ron@chaos.eng.wayne.edu
#
#
# This version is for WG7J NOS (JNOS) 1.10x?
#
# Commands that are commented out are either not compiled in the version of
# NOS that I'm using, or they're not being used for various reasons.
#
# Some commands may not be available in certain versions of NOS.
#
#
#------------------------------------------------------------------------------
#
# --- Operating system parameters ---
#
# /* Memory */
#
# Log memory errors.
#
# memory debug on
#
# Set interupt buffer size and number of interupts.
# *** Make sure your ibufsize is larger than your mtu on packet
# driver interfaces.
#
memory ibufsize 2048
memory nibufs 5
#
#
# /* Multitask */
#
# Enable multitasking shell to keep NOS running when shelled out.
#
multitask on
#
#
# /* Watchdog */
#
# Reboot the computer after 600 seconds if something internal to
# NOS appears to be wrong.
#
watchdog on
#
# These routines, plus the assembler hooks in stopwatch.asm, implement a
# general purpose "stopwatch" facility useful for timing the execution of
# code segments. The PC's "timer 2" channel (the one ordinarily
# used to drive the speaker) is used. It is driven with a 838 ns
# clock. The timer is 16 bits wide, so it "wraps around" in only 55 ms.
#
watch on
#
# /* AT/386 mode */
#
# Display or set the AT flag when an interface with an interrupt of 8 or
# higher is used. This allows measurement of time in milliseconds, rather
# than clock ticks (55 milliseconds per clock tick) to obtain a higher
# resolution (8254 clock).
#
# *** If IRQ < 8 then isat off setvect(8+irq,handler)
# If IRQ < 16 then isat on setvect(0x70 + irq - 8,handler)
isat on
#
#------------------------------------------------------------------------------
#
# --- Addresses, callsigns and hostname ---
#
#
# /* Link Layer address */
#
ax25 mycall n8fow-4
#
#
# /* Mailbox callsigns and aliases */
#
ax25 alias rsvip
ax25 bbscall n8fow-1
# ax25 ttycall n8fow
#
#
# /* Network Layer address */
#
ip address 44.102.40.16
#
#
hostname n8fow.ampr.org
#
#------------------------------------------------------------------------------
#
# --- Attach ports ---
#
#
# /* ASY interface */
#
# attach asy <address> <vector>[c] <mode> <label> <buffers> <mtu>
# <speed> [ip_addr] crv [f <fifo_trigger_level>]
#
# address - I/O address e.g., "0x3f8"
# vector[c] - vector e.g., "4" The 'c' option is for chaining
# interupts (shared interupts)
# mode - (see below)
# label - Interface label
# buffers - receiver ring buffer size in bytes
# mtu - maximum transmission unit, bytes
# speed - interface speed e.g., "9600"
#
# c - cts flow control or checksum used in polled kiss mode
# r - receive line signal detect (CD)
# v - Van Jacobson TCP header compression (SLIP)
# f - for forced use of the 16550 fifo's and
# to set 16550 trigger level (1, 4, 8, or 14)
#
# *** Maximum asynch ports allowed = 5
# Current ASY supported speeds = 300 1200 2400 4800 9600
# 19200 38400 57600 115200
# Current ASY supported modes SLIP AX25 NRS PPP RAW
# (not available in all versions) KISSUI KISSI AX25UI AX25I PKISS
# VJSLIP TNCSLIP
#
# 147.56 TCP/IP LAN (COM1)
#
attach asy 0x3f8 4 ax25 ax0 512 256 19200 c
#
#
# Test port (COM3)
#
attach asy 0x3e8 2 ax25 ax1 1024 512 19200 f8
#
#
# SLIP link to phone modem (COM4) /* RLSD line control */
#
# attach asy 0x2e8 5 ax25 modem 1024 512 2400 cr
#
#
# TNCSLIP link to KISS TNC
#
# *** Runs a SLIP link over a KISS TNC. There are NO AX.25 headers so
# no third-party traffic may be used over it while unattended and
# some sort of ID must be used.
#
# This is also similar to the ASY_PR.COM packet driver which
# allows a dumb modem (like a 9600 modem) to be used on the serial
# port with no TNC. Also has NO AX.25 headers.
#
# attach asy 0x3e8 2 tncslip tncslip 2048 1500 9600
#
#
# /* Packet driver interface */
#
# The packet drivers should conform to FTP Software's packet driver
# specification. Various drivers used are for ethernet cards, slip8250,
# the AX25 driver for using a Baycom modem with NOS, G8BPQ packet switch
# nodedrv4 driver to allow NOS to run with the BPQ switch, and many others.
#
# attach packet <int#> <label> <buffers> <mtu> [ip_addr]
#
# int# - software interrupt vector e.g., 0x7e
# label - interface label
# buffers - maximum number of packets allowed on transmit queue
# mtu - maximum transmission unit, bytes
#
# *** Maximum packet drivers = 3
#
# Packet driver network interface classes:
#
# Class Network Type
# ----- ------------
# 1 DIX Ethernet
# 2 ProNET-10 Token-Ring
# 3 IEEE 802.5 Token-Ring
# 4 Omninet
# 5 Appletalk
# 6 Serial Line IP (SLIP)
# 7 StarLAN (Now subsumed by Ethernet)
# 8 ArcNet
# 9 AX.25
# 10 KISS
# 11 IEEE 802.3 with IEEE 802.2 headers
# 12 FDDI with IEEE 802.2 headers
# 13 Internet X.25
# 14 N.T. LANSTAR
# 15 MIT Serial Line Framing Protocol (SLFP)
# 16 Point-to-Point Protocol (PPP)
#
#
# Packet driver network interface classes according to NOS:
#
# NONE ETHERNET PRONET_10 IEEE8025 OMNINET
# APPLETALK SERIAL_LINE STARLAN ARCNET AX25
# KISS IEEE8023 FDDI INTERNET_X25 LANSTAR
# SLFP NETROM PPP NCLASS
# (MSDOS) -> TC500 PC2000 WD8003 PC8250 ANYTYPE
#
#
# Baycom modem (1200 bps)
#
# attach packet 0x60 ax0 5 256
#
#
# Asy_PR driver (high speed async - default is 9600 bps)
#
# *** This driver does NO AX.25. You must have a way to ID your station.
#
# attach packet 0x60 asy 5 1500
#
#
# Ethernet card (10 Mbs)
#
# attach packet 0x7e ec0 8 1500
#
#
# /* BPQ Hostmode interface */
#
# attach bpq init <vec> <stream>
# Used to initilize the bpqhost interface.
# vec interrupt vector in hex of the bpq_host code normally 0x7f.
# must be the same as defined in bpqcfg.txt.
# stream bpq_host stream number used by nos. must be between
# 1 and 64 and not used by any other program. nos uses
# only one stream for all interfaces attached to bpq_host.
#
# attach bpq <vec> <stream> <port> <label> [mtu [callsign]]
# Used to attach an interface to the bpq node.
# port bpq radio port number as defined in bpqcfg.txt
# label name of this interface.
# mtu paclen for this interface. if not given set to
# AX25 Paclen.
# callsign call used for this interface. if not given set to
# AX25 Mycall.
#
# attach bpq init 0x7f 1
# attach bpq 0x7f 1 1 ax1 256
#
#
# /* POLLED KISS mode interface */
#
# Polled KISS (ala G8BPQ) is now supported. When attaching the serial port
# use the mode 'pkiss' instead of 'ax25'. This becomes port 0. Then for
# all other tnc's on the same serial port, add an additional 'attach
# kiss' command. Eg. to attach 3 polled kiss tnc's(#0,2,11) at 9600bd:
#
# attach asy 3f8 4 pkiss ax0 1024 256 9600
# attach kiss p0 2 ax1
# attach kiss p0 11 ax2
#
# The poll-intervall is calculated according to the asy interface mtu and
# the speed, with some overhead. This is the frequency in wich the list of
# tnc's is polled. Thus the frequency for each tnc is the interval *
# number - of-tnc's...
#
# interval = 0.15 + ((10 * mtu) / speed ) seconds
# poll-time = interval * #-of-tnc's
#
# (Eg. for 9600bd with mtu=256 , interval = 0.416 sec; rounded up to the
# nearest system clock tick gives 440ms; thus poll-time for each tnc is
# about 1.5 seconds)
#
#------------------------------------------------------------------------------
#
# --- TNC initialization and parameters ---
#
# /* Interface initialization */
#
# Put TNC's in KISS mode if it isn't already. Since TNC's seem to use different
# commands, I list different combinations that can be used.
#
# dialer ax0 /scripts/kisson.dia
# dialer ax1 /scripts/kisson.dia
# dialer modem /scripts/modem.dia
# dialer modem 600 /scripts/raise /scripts/drop /scripts/ring
#
# comm ax0 "*\r"
# comm ax0 "*\r"
# comm ax0 "*\r"
# comm ax0 "\r"
comm ax0 "kiss on\r"
# comm ax0 "kissm\r"
# comm ax0 "interface kiss\r"
comm ax0 "restart\r"
# comm ax0 "reset\r"
#
# comm ax1 "*\r"
# comm ax1 "*\r"
# comm ax1 "*\r"
# comm ax1 "\r"
comm ax1 "kiss on\r"
# comm ax1 "kissm\r"
# comm ax1 "interface kiss\r"
comm ax1 "restart\r"
# comm ax1 "reset\r"
#
# comm modem "atz\r"
#
# /* Interface parameters */
#
# Syntax: param <iface> <number|name> <value>
#
# Number Name
# ------ ----
# 0 -> Data
# 1 -> TxDelay
# 2 -> Persist
# 3 -> SlotTime
# 4 -> TxTail
# 5 -> FullDup
# 6 -> Hardware
# 7 -> TxMute
# 8 -> DTR
# 9 -> RTS
# 10 -> Speed
# 11 -> EndDelay
# 12 -> Group
# 13 -> Idle
# 14 -> Min
# 15 -> MaxKey
# 16 -> Wait
# 0x81 -> Down
# 0x82 -> Up
# 0x83 -> Blind
# 0xfe -> Return2
# 0xff -> Return
#
# *** Comment out the param lines if using a packet driver interface.
#
# For standard KISS ROM's TxDelay = Value of Txdelay
# For KISS56 ROM's TxDelay needs to be 4 times the required value. So for
# a TxDelay of 15 (150 ms) the value needs to be set to 60.
# TxTail should also be set too.
#
param ax0 TxDelay 15
param ax0 Persist 50
param ax0 SlotTime 20
param ax0 TxTail 10
param ax0 FullDup 0
param ax0 DTR 1
param ax0 RTS 1
#
param ax1 TxDelay 12
param ax1 Persist 200
param ax1 SlotTime 3
param ax1 FullDup 0
param ax1 DTR 1
param ax1 RTS 1
#
#------------------------------------------------------------------------------
#
# --- TCP parameters ---
#
# /* Transmission Control Protocol (TCP) */
#
#
# Maximum Segment Size (usually about 40 bytes less then MTU)
# The following are fine for 1200, but they stink at 9600.
# Still testing things anyways.
#
tcp mss 216
#
# Window (usually 2* MSS)
#
tcp window 432
#
# Timing parameters
#
# timertype = [linear|exponential]
#
tcp blimit 20
tcp irtt 5000
tcp retries 32
tcp timertype linear
tcp trace off
#
#
# TCP syn+data piggybacking. Some TCP implementations do not work correctly
# with this on.
#
tcp syndata off
#
#
# /* TCP access */
#
# Used to restrict access to various port numbers on our system. To restrict
# vaious IP port numbers from actually passing through our system use the
# IP ACCESS command.
#
# Syntax: tcp access <state> <dest>[/<bits>] [lowport] [highport]
#
# state= {permit|deny|delete}
# dest = Destination IP address (or "any")
#
# tcp access deny all 5000 5000
# tcp access permit 44.102.40.18 5000 5000
# tcp access permit 44.102.40.24 5000 5000
# tcp access permit all ax0
# tcp access permit all ax1
#
#------------------------------------------------------------------------------
#
# --- IP parameters ---
#
# /* Internet Protocol (IP) */
#
# Turn on IP heard list and set the number of stations in the heard list.
#
ip hport ax0 on
ip hport ax1 on
ip hsize 15
#
ip rtimer 30
ip ttl 32
#
#------------------------------------------------------------------------------
#
# --- Domain ---
#
# Since the AMPRNet <> Internet gateway uses the 'world wide' AMPR domain
# server, we use this along with another internet DNS.
#
# *** Currently supported type of domain records:
#
# A -> Host address
# NS -> Name server
# MD -> Mail destination (obsolete)
# MF -> Mail forwarder (obsolete)
# CNAME -> Canonical name
# SOA -> Start of Authority
# MB -> Mailbox name (experimental)
# MG -> Mail group member (experimental)
# MR -> Mail rename name (experimental)
# NULL -> Null (experimental)
# WKS -> Well-known sockets
# PTR -> Pointer record
# HINFO -> Host information
# MINFO -> Mailbox information (experimental)
# MX -> Mail exchanger
# TXT -> Text strings
# AXFR -> Transfer zone of authority
# MAILB -> Transfer mailbox records
# MAILA -> Transfer mail agent records
# ANY -> Matches any type
#
# domain dns on
domain maxwait 240
domain retry 7
domain cache wait 1800
domain subnet off
domain suffix ampr.org.
domain trace off
domain translate off
domain verbose off
# domain addserver 128.54.16.1
domain addserver 44.102.48.1
domain addserver 141.217.1.13
#
#------------------------------------------------------------------------------
#
# --- Routing ---
#
# /* Route */
#
# Syntax: route [<add> | <addprivate>] <destination>[/<bits>] <iface>
# [<gateway> |direct [metric]]]
#
# Load in manual routes that are different.
#
source /etc/nodes.rou
#
#
# *** Ohio stations
#
route addprivate 44.70.16.0/24 ax0 44.102.48.8
route addprivate 44.70.160.0/24 ax0 44.102.48.8
route addprivate 44.70.161.0/24 ax0 44.102.48.8
route addprivate 44.70.162.0/24 ax0 44.102.48.8
route addprivate 44.70.163.0/24 ax0 44.102.48.8
route addprivate 44.70.164.0/24 ax0 44.102.48.8
route addprivate 44.70.165.0/24 ax0 44.102.48.8
route addprivate 44.70.176.0/24 ax0 44.102.48.8
#
#
# *** Windsor, Ontario Canada area stations
#
route addprivate 44.135.83.0/24 ax0 44.102.48.8
#
#
# *** Michigan subnets
#
route addprivate 44.102.0.0/24 ax0 44.102.48.8
route addprivate 44.102.1.0/24 ax0 44.102.48.8
route addprivate 44.102.2.0/24 ax0 44.102.48.8
route addprivate 44.102.3.0/24 ax0 44.102.48.8
route addprivate 44.102.4.0/24 ax0 44.102.48.8
route addprivate 44.102.5.0/24 ax0 44.102.48.8
route addprivate 44.102.6.0/24 ax0 44.102.48.8
route addprivate 44.102.7.0/24 ax0 44.102.48.8
route addprivate 44.102.8.0/24 ax0 44.102.48.8
route addprivate 44.102.9.0/24 ax0 44.102.48.8
route addprivate 44.102.10.0/24 ax0 44.102.48.8
route addprivate 44.102.11.0/24 ax0 44.102.48.8
route addprivate 44.102.12.0/24 ax0 44.102.48.8
route addprivate 44.102.13.0/24 ax0 44.102.48.8
route addprivate 44.102.14.0/24 ax0 44.102.48.8
route addprivate 44.102.14.0/24 ax0 44.102.48.8
route addprivate 44.102.16.0/24 ax0 44.102.48.8
route addprivate 44.102.17.0/24 ax0 44.102.48.8
route addprivate 44.102.18.0/24 ax0 44.102.48.8
route addprivate 44.102.19.0/24 ax0 44.102.48.8
route addprivate 44.102.20.0/24 ax0 44.102.48.8
route addprivate 44.102.21.0/24 ax0 44.102.48.8
route addprivate 44.102.22.0/24 ax0 44.102.48.8
route addprivate 44.102.23.0/24 ax0 44.102.48.8
route addprivate 44.102.24.0/24 ax0 44.102.48.8
route addprivate 44.102.25.0/24 ax0 44.102.48.8
route addprivate 44.102.26.0/24 ax0 44.102.48.8
route addprivate 44.102.27.0/24 ax0 44.102.48.8
route addprivate 44.102.28.0/24 ax0 44.102.48.8
route addprivate 44.102.29.0/24 ax0 44.102.48.8
route addprivate 44.102.30.0/24 ax0 44.102.48.8
route addprivate 44.102.31.0/24 ax0 44.102.48.8
route addprivate 44.102.32.0/24 ax0 44.102.48.8
route addprivate 44.102.33.0/24 ax0 44.102.48.8
route addprivate 44.102.34.0/24 ax0 44.102.48.8
route addprivate 44.102.35.0/24 ax0 44.102.48.8
route addprivate 44.102.36.0/24 ax0 44.102.48.8
route addprivate 44.102.37.0/24 ax0 44.102.48.8
route addprivate 44.102.38.0/24 ax0 44.102.48.8
route addprivate 44.102.39.0/24 ax0 44.102.48.8
route addprivate 44.102.40.0/24 ax0
route addprivate 44.102.41.0/24 ax0
route addprivate 44.102.42.0/24 ax0
route addprivate 44.102.43.0/24 ax0
route addprivate 44.102.44.0/24 ax0
route addprivate 44.102.45.0/24 ax0
route addprivate 44.102.46.0/24 ax0
route addprivate 44.102.47.0/24 ax0
route addprivate 44.102.48.0/24 ax0 44.102.48.8
route addprivate 44.102.49.0/24 ax0 44.102.48.8
route addprivate 44.102.50.0/24 ax0 44.102.48.8
route addprivate 44.102.51.0/24 ax0 44.102.48.8
route addprivate 44.102.52.0/24 ax0 44.102.48.8
route addprivate 44.102.53.0/24 ax0 44.102.48.8
route addprivate 44.102.54.0/24 ax0 44.102.48.8
route addprivate 44.102.55.0/24 ax0 44.102.48.8
route addprivate 44.102.56.0/24 ax0 44.102.48.8
route addprivate 44.102.57.0/24 ax0 44.102.48.8
route addprivate 44.102.58.0/24 ax0 44.102.48.8
route addprivate 44.102.59.0/24 ax0 44.102.48.8
route addprivate 44.102.60.0/24 ax0 44.102.48.8
route addprivate 44.102.61.0/24 ax0 44.102.48.8
route addprivate 44.102.62.0/24 ax0 44.102.48.8
route addprivate 44.102.63.0/24 ax0 44.102.48.8
#
#
# *** Guest address's go direct out the radio port
#
route add 44.128.0.0/16 ax0
#
#
# Set default route for all IP packets.
#
# *** WSU is the AMPRNet <> internet gateway that has encapsulated
# IP routes to other subnets outside of 44.102/16. This way you
# can reach other TCP/IP networks that aren't local.
#
route addprivate 44.102.48.1 ax0 44.102.40.18
route addprivate 44.102.48.2 ax0 44.102.40.18
route addprivate default ax0 44.102.40.18
#
#
# Route sorting
#
route sort yes
#
#------------------------------------------------------------------------------
#
# --- ARP ---
#
# /* Address Resolution Protocol (ARP) */
#
# *** Lifetime of a valid ARP entry = 900 seconds
# Lifetime of a pending ARP entry = 15 seconds
# Max number of datagrams in queue while pending a resoultion = 5
#
#
# Supported types of hardware known to ARP
#
# NETROM 0 /* Fake for NET/ROM (never actually sent) */
# ETHER 1 /* Assigned to 10 megabit Ethernet */
# EETHER 2 /* Assigned to experimental Ethernet */
# AX25 3 /* Assigned to AX.25 Level 2 */
# PRONET 4 /* Assigned to PROnet token ring */
# CHAOS 5 /* Assigned to Chaosnet */
# IEEE802 6 /* Who uses this? */
# ARCNET 7
# APPLETALK 8
#
# Set manual ARP table.
#
arp add 44.102.48.2 ax25 n8fow-9 ax1
arp add 44.102.48.1 ax25 n8fow-10 ax0
arp publish 44.102.40.17 ax25 n8fow-4 ax0
arp publish 44.102.40.16 ax25 n8fow-3 ax1
#
# Load in manual ARP table (except the broadcast address - QST-0).
#
source /etc/nodes.arp
#
# ARP eavesdrop parameters.
#
arp eaves ax0 on
arp eaves ax1 on
arp maxq 5
arp poll ax0
arp poll ax1
arp sort yes
#
#
# /* Autorouter */
#
# *** Since it likes to override my manual routes, I'm not running
# it unless I'm actually attending the station.
#
# autoroute off
#
#------------------------------------------------------------------------------
#
# --- ICMP ---
#
# /* Internet Control Message Protocol */
#
icmp echo on
icmp quench off
#
#------------------------------------------------------------------------------
#
# --- Ports configuration ---
#
# /* Interface configuration */
#
# *** For netmask to work we need some kind of subnetting.
#
# Ex: For a repeater subnet as 44.102.48.0/24 the default
# port is the ip router/gateway and the netmask is
# 0xffffff00 (255.255.255.0) so all connects to the
# subnet will go direct.
#
#
# Interface flags (as shown with 'ifconfig' command):
#
# 1 /* Send datagrams in connected mode */
# 2 /* Activated for NET/ROM */
# 4 /* NET/ROM broadcast is verbose */
# 8 /* Activated for conference call access */
# 16 /* Send AX.25 beacons */
# 32 /* Send MAIL beacons */
# 64 /* Don't show port in mbox P command */
# 128 /* Disallow digipeating */
#
ifconfig ax1 ipaddress 44.102.40.17
ifconfig ax1 bbscall n8fow-1
ifconfig ax1 linkaddress n8fow-3
ifconfig ax1 description "441.075/446.075 9600 repeater - Macomb County TCP/IP LAN"
ifconfig ax1 mtu 552
ifconfig ax1 encap ax25
ifconfig ax1 paclen 256
#
# Subnet 44.102.40.0/24
#
# ifconfig ax1 netmask 0xffffff00
#
#
ifconfig ax0 ipaddress 44.102.40.16
ifconfig ax0 bbscall n8fow-1
ifconfig ax0 linkaddress n8fow-4
ifconfig ax0 description "147.56 MHz 1200 simplex - Michigan TCP/IP"
ifconfig ax0 mtu 256
ifconfig ax0 encap ax25
ifconfig ax0 paclen 256
#
#
# ifconfig modem description "Telephone modem. Use DX or UX for XMODEM transfers."
#
#
# /* Broadcast */
#
# Sets the broadcast address and port for routing protocols.
#
ifconfig ax0 broadcast 44.255.255.255
ifconfig ax1 broadcast 44.102.40.255
arp add 44.255.255.255 ax25 QST-0 ax0
#
#
# AX25 UA (unconnected) frames rather than I (virtual circuit - vc) frames.
#
mode ax0 datagram
mode ax1 datagram
#
#------------------------------------------------------------------------------
#
# --- Start Servers ---
#
# /* Protocol */
#
# Server Port Protocol Definition
# ------ ---- -------- ----------
# ip 0 IP # internet protocol, pseudo protocol number
# icmp 1 ICMP # internet control message protocol
# tcp 6 TCP # transmission control protocol
# udp 17 UDP # user datagram protocol
# rspf 73 IP # Radio Shortest Path First protocol
# ax25 93 IP # AX25 inside IP according to RFC# 1226
# ipip 94 IP # IP inside IP (encap)
#
#
# /* Services */
#
# *** Hopefully this follows the /etc/services format on Unix systems.
#
# Server Port/Protocol Definition
# ------ ---- -------- ----------
# echo 7/tcp # Echo data port
# discard 9/tcp # Discard data port
# ftpd 20/tcp # File Transfer Protocol Data port
# ftp 21/tcp # File Transfer Protocol control port
# telnet 23/tcp # Telnet port (default to mailbox)
# smtp 25/tcp # Mail port (Simple Mail Transfer Protocol)
# time 37/tcp # Time protocol
# dns 53/udp # Domain Name Server
# mtp 57/tcp # Secondary telnet port
# bootps 67/udp # Bootp server (Bootstrap Protocol Server)
# bootpc 68/udp # Bootp client (Bootstrap Protocol Client)
# tftp 69/udp # Trivial File Transfer Protocol
# gopher 70/tcp # Gopher server
# finger 79/tcp # Finger lookup service
# ttylink 87/tcp # Chat port (TTYLINK/Chat to local keyboard)
# pop2 109/tcp # Pop port (Post Office Protocol 2)
# pop3 110/tcp # Pop port (Post Office Protocol 3)
# nntp 119/tcp # Netnews port (Network News Transport Protocol)
# ntp 123/udp # Network Time protocol
# rcmd 333/tcp # Remote Command server
# rlogin 513/tcp # Remote Login
# rwho 513/udp # Who daemon (Remote who)
# rsh 514/tcp # Remote shell
# lpd 515/tcp # Line printer
# rip 520/udp # Routing information protocol
# timed 525/udp # Time Daemon (Unix time protocol)
# remote 1234/udp # Remote (remote exit|kick|reset)
# calldb 1235/tcp # Callbook server
# convers 3600/tcp # Convers (conference roundtable node)
# xconvers 3601/tcp # LZW Convers (LZW compressed link)
# term 5000/tcp # Serial interface server port
# bsr 5000/udp # BSR X10 interface server port
# fax 5001/tcp # Fax interface
#
#
# Enabled Disabled
# ------- --------
#
# start ax25
# start bsr modem
# start callbook
# start convers
# start discard
# start echo
start finger
start ftp
# start gopher
# start lpd
# start netrom
# start nntp
# start pop2
# start pop3
start remote
# start rip
start smtp
start telnet
# start term
# start tip ax1 modem 600
# start tip modem modem 600
# start tip modem terminal 1800
# start time
start ttylink
#
#
# *** Not a TCP/IP server but it has to be started anyways.
#
# start forward
#
#------------------------------------------------------------------------------
#
# --- AX25 parameters --- Who cares! (N8FOW)
#
# Parameters that I'm trying out.
#
ax25 digipeat ax0 off
ax25 digipeat ax1 off
ax25 version 2
ax25 maxframe 2
ax25 retry 15
ax25 blimit 20
ax25 timertype linear
#
#
# *** AX.25 connection mailbox access:
#
# noax25 - NO AX.25 connects allowed
# bbsonly - Only users with IS_BBS bit allowed
# usersonly - Users only (no IS_BBS users allowed)
# sysoponly - Sysop's only are allowed
#
mbox sysoponly ax0 on
mbox sysoponly ax1 on
#
# Turn on AX25 heard list and the number of calls in the total list (every
# interface).
#
# 0 - source enabled, destination enabled
# 1 - source disabled, destination enabled
# 2 - source enabled, destination disabled
# 3 - source disabled, destination disabled
#
# ax25 bcport ax1
# ax25 bcinterval 120
# ax25 bctext "9600 test port. Dum de dum de dum..... testing..... La La La!!!"
ax25 filter 2
ax25 hport ax0 on
ax25 hport ax1 on
ax25 hsize 48
#
#
# Parameters that Johan WG7J is running.
#
# ax25 version 2
# ax25 digipeat on
# ax25 maxframe 1
# ax25 paclen 256
# ax25 retry 10
# ax25 window 1024
# ax25 irtt 4000
# ax25 t3 0
# ax25 t4 600
#
#------------------------------------------------------------------------------
#
# --- Trace ---
#
# /* Port tracing */
#
# Turn radio port tracing on. Hit the F9 key to see trace. Use STRACE OFF
# to have the tracing go to the command screen (F10).
#
# *** Currently supported AX.25 Level 3 Protocol IDs (PIDs)
# (RARP and FLEXNET use the same PID. Conflict problems exist)
#
# X25 0x01 CCITT X.25 PLP
# SEGMENT 0x08 Segmentation fragment
# TEXNET 0xc3 TEXNET datagram protocol
# LQ 0xc4 Link quality protocol
# APPLETALK 0xca Appletalk
# APPLEARP 0xcb Appletalk ARP
# IP 0xcc ARPA Internet Protocol
# ARP 0xcd ARPA Address Resolution Protocol
# RARP 0xce ARPA Reverse Address Resolution Protocol
# FLEXNET
# NETROM 0xcf NET/ROM
# NO_L3 0xf0 No level 3 protocol
#
#
# Syntax: trace <iface> <[<[<b>]t>]io> [<filename>]
#
# b : 0 = broadcasts 1 = no broadcasts
# t : 0 = headers 1 = ascii
# 2 = hex/ascii 3 = monitor
# i : 0 = no input 1 = trace input
# o : 0 = no output 1 = trace output
#
trace ax0 311
trace ax1 311
#
#------------------------------------------------------------------------------
#
# --- SMTP parameters --- (Simple Mail Transfer Protocol)
#
# Send undeliverable mail to the AMPRNet <> Internet gateway to figure
# out where to send it.
#
smtp gateway 44.102.48.1
#
smtp batch on
smtp timer 1800
smtp usemx off
# smtp kick
smtp quiet on
#
# SMTP timeout limit (in seconds). After timeout mail will be delivered to
# the 'smtp gateway' station for delivery.
#
smtp t4 3600
#
# Disconnect SMTP session after half an hour of no activity.
#
smtp tdisc 1800
#
#
# /* LZW Compression */
#
smtp reclzw on
smtp sendlzw on
lzw bits 16
lzw mode compact
#
#------------------------------------------------------------------------------
#
# --- POP parameters --- (Post Office Protocol)
#
# I'm not running POP since I'm up 24 hours anyways and receive mail directly.
#
#
# Syntax: popmail addserver <mailserver> [<seconds>] [hh:mm-hh:mm] <protocol>
# <mailbox> <username> <password>
#
# popmail addserver 44.102.48.2 pop3 n8fow <%login%> <%password%>
#
# *** Uncomment out the next line to force a POP mail poll to the server.
#
# popmail kick 44.102.48.2
# popmail lzw 1
# popmail quiet off
#
# Tracing levels:
# 0 - no tracing
# 1 - serious errors reported
# 2 - transient errors reported
# 3 - session progress reported
#
# pop trace 0
#
#------------------------------------------------------------------------------
#
# --- Hopcheck --- (traceroute)
#
#
# hopcheck maxttl 30
# hopcheck maxwait 30
# hopcheck queries 5
# hopcheck trace on
#
#------------------------------------------------------------------------------
#
# --- RSPF parameters --- (Radio Shortest Path First)
#
# I'm not running RSPF until the next version is released.
#
# rspf interface ax0 8 32
# rspf maxping 3
# rspf rrhtimer 900
# rspf suspecttimer 2700
# rspf timer 1800
#
#------------------------------------------------------------------------------
#
# --- RIP parameters --- (Routing Information Protocol)
#
# rip merge on
# rip add 44.102.40.18 600 3
# rip add 44.102.40.24 600 3
# rip request 44.102.40.18
# rip request 44.102.40.24
# rip request kick
# rip trace 2
# rip ttl 1800
# start rip
# rip kick
#
#------------------------------------------------------------------------------
#
# --- NNTP parameters --- (Network News Transfer Protocol)
#
# /* Server */
#
# Personal information.
#
# nntp profile fullname "Ron Atkinson - N8FOW"
# nntp profile host n8fow.ampr.org
# nntp profile organ "Michigan AMPRNet - TCP/IP"
# nntp profile reply <n8fow@n8fow.ampr.org>
# nntp profile sig /spool/signatur/n8fow.sig
# nntp profile user n8fow
#
# Other NNTP servers and the groups that I want to receive and send to them.
#
# nntp add 44.102.48.1 0 ampr.general ampr.test epa rec.radio.info
# nntp add 44.102.40.18 0 nos-bbs minews ampr.general ampr.test
# nntp add 44.32.0.2 14400 ampr* rec.radio.amateur.packet rec.radio.amateur.policy
# nntp add 141.217.16.41 45000 rec.radio.amateur.packet rec.radio.amateur.policy
# nntp add 44.80.8.75 21600 arl_qst arl_dx arl_prop atldiv epa skywarn
#
# IHAVE 0 = Don't send the polled station new news
# IHAVE 1 = Send the polled station only newsgroups that was requested
# IHAVE 2 = Send the polled station all newsgroups with new news
#
# nntp ihave 1
# nntp quiet 2
# nntp lzw off
#
#
# /* Client */
#
# nntp add 44.102.48.1 0
# nntp groups rec.radio.info ampr.general ampr.test list.nos-bbs list.tcp-group rec.radio.amateur.packet
#
# *** If off and your screen gets full with new news and the -more-
# prompt comes up, then your system will stop working until the
# -more- prompt is removed (hit the space bar). Turn on the quiet
# to make sure the system stays up and continues to work.
#
#
# NNTP tracing codes
# ------------------
# 0 - No tracing
# 1 - Serious errors reported
# 2 - Transient errors reported
# 3 - Session progress reported
# 4 - Complete article text reported (this is excessive)
#
# nntp quiet on
# nntp trace 0
#
#------------------------------------------------------------------------------
#
# --- Convers node ---
#
# Allow convers linking from these IP addresses
#
# convers filter mode accept
#
# convers filter 44.102.40.16
# convers filter 44.102.40.17
# convers filter 44.102.40.18
# convers filter 44.102.40.24
# convers filter 44.102.48.2
# convers filter 44.102.48.1
#
#
# convers hostname Roseville
# convers interface ax0 on
# convers interface ax1 on
# convers mycall rsvqso
#
#
# Establish convers link and various timers and outstanding transmit queue.
#
# convers link 44.102.48.2
# convers hmaxq 5120
# convers umaxq 3178
# convers maxwait 180
# convers t4 7200
#
#------------------------------------------------------------------------------
#
# --- Messages of the day ---
#
# *** As of 1.07b 'mbox motd' moved to (default) /spool/motd.txt
# 'fmotd' moved to (default) /spool/ftpmotd.txt
#
motd "N8FOW's TCP/IP system in Roseville, Michigan.\n\n\n"
mbox tmsg "Use your callsign for the login.\n"
#
#------------------------------------------------------------------------------
#
# --- Mailbox ---
#
# Forwarding information for R: line compatibility.
#
# *** I flip the 'qth' and 'fwdinfo' since the 'fwdinfo' is put
# inside of brackets (ex: [Roseville] ) and the WP server
# uses this as the QTH rather than the 'fwdinfo'.
#
# mbox fwdinfo "Roseville"
# mbox haddress n8fow.#semi.mi.usa.na
# mbox header on
# mbox qth "NOS"
# mbox zip 48066
#
#
# If you're a BBS forwarding a bulletin to me with NO BID then I DON'T want
# your message!
#
# mbox nobid off
#
#
# No-activity and mailbox forwarding timers.
#
mbox tdisc 1800
# mbox timer 4350
#
#
mbox attend on
# mbox nrid on
# mbox convers on
#
#
# I don't want the UHF port to show up in the P)orts display in the
# mailbox if I'm still testing things. Can be used to hide a backbone
# or BBS only channel.
#
# mbox hideport ax1
#
#
# The 'MAIL for' beacon. Exclude the following areas from the beacons
# and only allow 'MAIL for' beacons on port ax1.
#
# mbox mailfor exclude bbs wb8h n8fow north south east west nts newmail
# mbox mailfor 1800
# mbox mport ax1 on
#
#
# Tell the users of new mail in the different areas. Ask users if they
# are sure that they want to send a message after the ^Z or /EX is given.
# Don't include SMTP headers when doing W0RLI style forwarding, use the
# R: line headers instead. (Amazing how we drop a real 'standard' for
# such a non-standard amateur system!)
#
# mbox newmail on
mbox sendquery on
# mbox smtptoo on
#
mbox secure off
# mbox trace on
source /etc/password
#
third-party on
#
#------------------------------------------------------------------------------
#
# --- Message handling ---
#
# /* Bulletin information */
#
# Check forwarding file (/spool/forward.bbs) to see who we forward to and use
# the origination date and return address in the R: line of received messages.
#
# bulletin check on
# bulletin date on
# bulletin return on
# bulletin loophold 2
#
#
# /* Expiration */
#
# Every 24 hours delete BIDS that are 20 days old and delete old messages
# according to the expiration in the /spool/expire.dat file.#
#
# oldbid 24 20
# expire 24
#
#
# /* Timed execution */
#
# Since the 'at' command gets flushed after execution, I read in an
# external file that contains the commands. After the desired commands
# are executed, the final command is one that contains the original
# AT command so that it may be reexecuted again at another time.
#
# To run DOS commands or programs, use the /c switch with the shell
# command. ex: at now+98 "! /c pkzip -m \logfiles logfile mail.log"
#
# rdate.now -> (sets the computer clock using the time protocol)
# forward.now -> (does a mailbox forward at 52 minutes after the hour)
# oldbid.now -> (forced deletion of old BIDS regardless of timer)
# expire.now -> (forced deletion of messages regardless or timer)
# nntp-exp.now -> (deletion of NNTP server messages)
# nntpkick.now -> (forced nntp kick)
# shutdown.## -> (system shutdown messages)
# exit -> (exit NOS after 99 hours of continuous operation)
#
# at 1201 "source /etc/rdate.now"
# at 0900 "source /etc/forward.now"
# at 1205 "source /etc/oldbid.now"
# at 1000 "source /etc/expire.now"
# at 0945 "source /etc/nntp-exp.now"
# at 1030 "source /etc/nntpkick.now"
# at now+9850 "source /etc/shutdown.10"
# at now+9855 "source /etc/shutdown.5"
# at now+9859 "source /etc/shutdown.1"
# at now+9900 "source /etc/exit"
#
#------------------------------------------------------------------------------
#
# --- Terminal ---
#
echo accept
eol standard
prompt on
session swap file
#
#
# /* History buffer */
#
# Number of commands saved in the history buffer (command recall).
#
history 20
#
#
# /* Function keys */
#
# F1 through F5 are reserved for sessions.
# F6 issues a split screen AX25 connect to the WB8H BBS.
# F7 issues a split screen telnet to my local conference node.
# F8 sends my callsign and name for logging into systems.
# Alt-F1 turns attend flags on.
# Alt-F2 turns attend flags off.
# Alt-F9 shell to DOS.
# Alt-F10 exit NOS.
#
fkey 64 "~split ax0 wb8h\n"
fkey 65 "~ttylink wsu1 convers\n"
fkey 66 "n8fow\nron\n"
fkey 104 "~attend on\nmbox attend on\n"
fkey 105 "~attend off\nmbox attend off\n"
fkey 112 "~!\n"
fkey 113 "~exit\n"
#
#------------------------------------------------------------------------------
#
# --- Misc ---
#
# /* Additional drive */
#
# Normally this is used for the Buckmaster CD ROM. Since I don't have a
# CD ROM on this computer, I define an additional drive that I would like
# to be able to use with NOS to FTP into.
#
# cdrom u:
#
#
# /* Callbook server */
#
# Buckmaster CD ROM or SAM callbook database:
# Define remote system running the callbook server.
#
callserver2 hostname pcoej.ampr.org
#
#
# Internet callbook server:
#
# callserver 128.205.32.2 2000
#
#
# /* FTP */
#
# Disconnect an FTP after 10 minutes is there is no activity
# during a non-transfer (ex: waiting at the ftp> prompt).
#
ftptdisc 600
ftype image
#
# Use LZW compression on ftp.
#
ftpclzw on
ftpslzw on
#
#
# /* Time */
#
# Set this computers clock (with a time offset) from another system running
# the Time protocol server.
#
# rdate offset +5
# rdate server 44.102.40.24
#
#
# Load password for remote udp port and serial terminal server.
#
source /etc/remote
#
#
# /* Logfile */
#
# Log all activity on my system.
#
log on
#
#
# /* Attend */
#
# I'm here!
#
attended on
#
#<eof>